import React from 'react'
import { useLaunch } from '@tarojs/taro'
import { View } from '@tarojs/components'
import './app.scss'

function App({ children }) {
  useLaunch(() => {
    console.log('App launched.')
  })

  return (
    <View className="app-container">
      <View className="app-content">
        {children}
      </View>
    </View>
  )
}

export default App
